<div class="dropdown">
    <div class="search-box">
        <input type="text" class="input-box" placeholder="请输入" [(ngModel)]="inputValue" (change)="updateInputValue()"
               (ngModelChange)="onShowSimilar()"/>
        <span id="dropdown-button" (click)="onShowToggle()">▼</span>
    </div>
    <ul class="dropdown-inner" *ngIf="optionsToDisplay" (mouseleave)="mouseleave()">
        <li *ngFor="let item of optionsToDisplay" (click)="activeValue(item)"
            (mouseover)="mouseover(item)">{{item}}</li>
    </ul>
</div>

